"""
Web3金融投资分析Agent API主应用
"""

from fastapi import FastAPI
from app.api import simple

# 创建FastAPI应用
app = FastAPI(title="Web3金融投资分析Agent API")

# 注册路由
app.include_router(simple.router)

@app.get("/")
async def root():
    """根路径"""
    return {"message": "Web3金融投资分析Agent API"}

@app.get("/health")
async def health_check():
    """健康检查"""
    return {"status": "ok"}
